package it.elis.media.library.model.data;

public class User {

	private Integer progUserId;
	private String userName;
	private String password;
	private String name;
	private String surname;
	
	private Role role;

	public Integer getProgUserId() {
		return progUserId;
	}

	public void setProgUserId(Integer progUserId) {
		this.progUserId = progUserId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

	@Override
	public String toString() {
		return "User [progUserId=" + progUserId + ", userName=" + userName
				+ ", password=" + password + ", name=" + name + ", surname="
				+ surname + ", role=" + role.toString() + "]";
	}
	
	
	
}
